package com.lyy.polymorphic.objpoly;


/**
 * @Author: GZQ
 * @date: 2024/11/17 18:09
 * @description: 对象的多态演示
 */

public class Dog extends Animal{

    public void cry() {
        System.out.println("Dog cry() 小狗汪汪叫....");
    }
}
